import time
def show_progress(total = 10):
    for i in range(total + 1):
        progress = i * 10
        bar = '#' * i
        print(f'\r进度: [{bar:<10}] {progress}%', end='')
        time.sleep(0.3)
    print()
show_progress()